<script setup>
import { useStore } from '@/store/index'

let store = useStore()
console.log(store)
</script>
<template>
  <div>
    {{ `当前应用url: ${store.curUrl}, 当前应用的key：${store.curMenuKey}` }}
    <micro-app :name="store.curMenuKey" :baseroute="store.curMenuKey" router-mode='native' :url="store.curUrl" iframe></micro-app>
  </div>
</template>